<%-- 
    Document   : DanhMucEditContent
    Created on : Oct 20, 2011, 3:09:03 PM
    Author     : Admin
--%>
<%@page import="model.pojo.Danhmuc"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<div>
    <%
        List<Danhmuc> d = (List<Danhmuc>) request.getAttribute("danhmuctheoid");
        Danhmuc dm = d.get(0);
    %>
    <form id="frmDanhMuc" name="frmDanhMuc" method="post" action="DanhMucController?Action=EditDanhMuc&id=<%=dm.getId()%>">
        <table width="500" border="0" align="center">
            <tr align="center">
                <td width="10"><strong>Mã</strong></td>
                <td width="120"><strong>Tên Danh Mục</strong></td>
                <td width="110"><strong>Ngày Tạo</strong></td>
                <td width="42"><strong>Cập Nhật</strong></td>
            </tr>

            <tr>
                <td ><input name="txtID" type="text" size="4" value="<%=dm.getId()%>"/></td>
                <td ><input name="txtTenDanhMuc" type="text" value="<%=dm.getTenDanhMuc()%>"/></td>
                <td ><input name="txtNgayTao" type="text" value="<%=dm.getNgayTao()%>"/></td>
                <td >

                    <input type="submit" name="btnCapNhat"  value="Cập Nhật" onclick="delthis(this.form);"/>

                </td>
            </tr>
        </table>
    </form>
</div>
